package com.itheima.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

//阿里云oss 配置类
@Data
@ConfigurationProperties(prefix = "tanhua.oss")
public class OssProperties {

    //AccessKey ID 访问密钥的id
    private String accessKey;
    //AccessKey Secret 链接密钥
    private String secret;
    //阿里云 oss项目名字
    private String bucketName;
    //地域名字
    private String url; //域名
    //端点
    private String endpoint;
}
